import React, { Component } from 'react';
//import { Platform, StyleSheet, Text, View } from 'react-native';
import { View, Text, StyleSheet } from 'react-native';

// const instructions = Platform.select({
//   ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu',
//   android:
//     'Double tap R on your keyboard to reload,\n' +
//     'Shake or press menu button for dev menu'
// });

const styles = StyleSheet.create({
  container: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    backgroundColor: '#fff'
  }
});
//heheh haha 啊啊啊啊 111111 2222 3333 tag master01 分支02
//heheh haha 啊啊啊啊 111111 2222 3333 tag 分支001 提交02
type Props = {};
export default class App extends Component<Props> {
  render() {
    return (
      // <View style={styles.container}>
      //   <Text style={styles.welcome}>Welcome to React Native 1222!</Text>
      //   <Text style={styles.instructions}>To get started, edit App.js</Text>
      //   <Text style={styles.instructions}>{instructions}</Text>
      // </View>
      <View styles={styles.container}>
        <Text>Hello World</Text>
        <People />
      </View>
    );
  }
}

class People extends Component {
  render() {
    return (
      <View>
        <Text>这是一个People组件</Text>
      </View>
    );
  }
}
